#ifndef JPANELMANAGER_H
#define JPANELMANAGER_H

#include "qtevirtualkeyboardglobal.h"
#include <QTECore/JSingleton>
#include <QObject>

class QWidget;

namespace QTE
{

class JAbstractInputPanel;
class JAbstractCandidatePanel;

class Q_DECL_HIDDEN JPanelManager : public QObject
{
	Q_OBJECT

public:
	explicit JPanelManager(QObject *parent);
	~JPanelManager();

public:
	QString defaultChangeLanguage();
	QString setCurrentLanguage(Language language);
	Language currentLanguage() const;

Q_SIGNALS:
	void languageChanged(JPanelManager *manager);

public:
	JAbstractCandidatePanel *candidatePanel() const;
	JAbstractInputPanel *symbolPanel() const;
	JAbstractInputPanel *inputPanel() const;

public:
	QString panelName() const;
	QString fullStopText() const;
	QString commaText() const;
};

} //namespace QTE


#endif //JPANELEMANAGER_H
